/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __BLENDER_TEXTURE_LOADER_H__
#define __BLENDER_TEXTURE_LOADER_H__

#include "GPrerequisites.h"
#include "OgreResource.h"

#include "blender.h"
#include "bMain.h"
#include "bBlenderFile.h"

namespace GNgine
{
	class BlenderTextureLoader 
		: public Ogre::ManualResourceLoader
	{
	public:
		BlenderTextureLoader(Blender::Image *bImage);
		~BlenderTextureLoader();

		void loadResource(Ogre::Resource* resource);

	protected:
		Blender::Image* _bImage;
	};

}

#endif
